package com.king.wxpay.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

import java.util.ArrayList;
import java.util.List;

/**
 * 查询退款结果
 * @author taomk
 * @version 1.0
 * @since 15-7-10 下午4:08
 */
@XmlRootElement(name = "xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryRefundRes {
	/**
	 * 返回结果code
	 */
    private String return_code;
    /**
     * 返回结果信息
     */
    private String return_msg;
    
    private String result_code;
    /**
     * 错误code
     */
    private String err_code;
    /**
     * 错误描述
     */
    private String err_code_des;
    /**
     * 公众号
     */
    private String appid;
    /**
     * 商户号
     */
    private String mch_id;
    /**
     * 子商户号
     */
    private String sub_mch_id;
    /**
     * 设备信息
     */
    private String device_info;
    /**
     * 随机数
     */
    private String nonce_str;
     /**
      * 签名
      */
    private String sign;
    /**
     * 交易号
     */
    private String transaction_id;
    /**
     * 订单号
     */
    private String out_trade_no;
    /**
     * 退订号
     */
    private Integer refund_count;

    private List<RefundInfo> refundInfoList=new ArrayList<RefundInfo>();
    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public String getResult_code() {
        return result_code;
    }

    public void setResult_code(String result_code) {
        this.result_code = result_code;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_code_des() {
        return err_code_des;
    }

    public void setErr_code_des(String err_code_des) {
        this.err_code_des = err_code_des;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getSub_mch_id() {
        return sub_mch_id;
    }

    public void setSub_mch_id(String sub_mch_id) {
        this.sub_mch_id = sub_mch_id;
    }

    public String getDevice_info() {
        return device_info;
    }

    public void setDevice_info(String device_info) {
        this.device_info = device_info;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTransaction_id() {
        return transaction_id;
    }

    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public Integer getRefund_count() {
        return refund_count;
    }

    public void setRefund_count(Integer refund_count) {
        this.refund_count = refund_count;
    }

    public List<RefundInfo> getRefundInfoList() {
        return refundInfoList;
    }

    public void setRefundInfoList(List<RefundInfo> refundInfoList) {
        this.refundInfoList = refundInfoList;
    }
}
